package com.million.artservice.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.million.artservice.entity.ArticleComment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.million.artservice.entity.vo.QueryCommentPageVo;
import com.million.artservice.entity.vo.QueryCommentVo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 文章评论 Mapper 接口
 * </p>
 *
 * @author 十麓
 * @since 2022-04-17
 */
public interface ArticleCommentMapper extends BaseMapper<ArticleComment> {

    //分页条件查询文章评论列表  返回分页的Vo 集合
    Page<QueryCommentPageVo> queryCommentVoPage (Page<QueryCommentPageVo> commentPageVoPage, @Param(Constants.WRAPPER) QueryWrapper<QueryCommentVo> queryWrapper);
}
